package Picture.service.impl;

import Picture.dao.PictureDao;
import Picture.dao.impl.PictureDaoIml;
import Picture.entiy.Picture;
import Picture.service.PictureService;

import java.util.List;

public class PictureSerImpl implements PictureService {
    PictureDao dao=new PictureDaoIml();
    @Override
    public List<Picture> getList() {
      return   dao.getList();
    }

    @Override
    public double sumAmout(String beginTime, String endTime) {
        return dao.sumAmout(beginTime, endTime);
    }
}
